package com.ml.mall.mapper.log;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ml.mall.bean.req.log.OperationLogQueryDto;
import com.ml.mall.bean.res.log.OperationLogQueryRes;
import com.ml.mall.entity.log.OperationLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* <p>
    *  Mapper 接口
    * </p>
*
* @author kyyang
* Created 2021-01-07
*/
    @Mapper
    @Repository
    public interface OperationLogMapper extends BaseMapper<OperationLog> {

    Integer selectCount(@Param("dto") OperationLogQueryDto operationLogQueryDto);

    List<OperationLogQueryRes> selectPage(@Param("dto") OperationLogQueryDto operationLogQueryDto);
}
